#include "urlquery.h"
#include <QtDebug>
UrlQuery::UrlQuery(QObject *parent) : QObject(parent)
{

}

void UrlQuery::addQueryItem(const QString &key, const QString &value)
{
        m_q.addQueryItem(key, value);
}

QString UrlQuery::toEncodedString()
{
    return m_q.toString();
}

void UrlQuery::clear()
{
    m_q.clear();
}

QObject *UrlQuery_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
{
    Q_UNUSED(engine)
    Q_UNUSED(scriptEngine)

    return new UrlQuery;;
}
